﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<br />
<br />
<fieldset>
    <legend><b>Выберите специалиста</b><br />
    </legend>
    <%using (Ajax.BeginForm("GetProcBySpec",
           new AjaxOptions
           {
               UpdateTargetId = "proc",
           }))
      { %>
    <table>
        <tr>
            <td>
                <%=Html.DropDownList("id", (List<SelectListItem>)ViewData["Special"])%>
            </td>
            <td>
               &nbsp&nbsp&nbsp&nbsp <input class="g-button" type="submit" value="Найти процедуру" />
            </td>
        </tr>
    </table>
    <%} %>
</fieldset>
<div id="proc">
</div>
